package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.Travelcontent;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

public interface ITravelService {

    void saveOrUpdate(Travel travel);

    PageInfo query(TravelQueryObject qo);

    Travel getTravelById(Long id);

    Travelcontent getContentById(Long id);

    void changeState(Travel travel);
}
